{template Public:Page:header}
<div class="container">
  <div class="row">
  
    {template Member:Index:sidebar}
    
    <div class="col-lg-10 well-col-pl-30">
      <div class="row">
           <div class="well">
           <h3>绑定新浪微博</h3>
           <div class="alert alert-info fade in">
                <button data-dismiss="alert" class="close">
                    ×
                </button>
                <i class="fa-fw fa fa-info"></i>
                <strong>提示</strong> 绑定后可以使用该帐号登录
            </div>
           <table class="table table-hover">
                    <thead>
                        <tr>
                            <th>
                                <strong>名称</strong>
                            </th>
                            <th>
                                <strong>粉丝</strong>
                            </th>
                            <th>
                                <strong>绑定时间</strong>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                     {if $api}
                          <tr>
                            <td>
                               {echo $api['apiname']} 
                            </td>
                            <td>
                               {echo $api['followers']} 
                            </td>
                            <td>
                                {echo FormatDate("Y-m-d H:i",$api['dateline'])}
                            </td>
                         </tr>
                     {else}   
                     <tr>
                            <td>
                              没有绑定
                            </td>
                            <td>
                            
                            </td>
                            <td>
                         
                            </td>
                         </tr>
                     {/if} 
                   </tbody>
                </table>
 
           
             <p><a href="/login/sina" class="btn btn-azure">{if $api}重新{/if}绑定</a></p>
           </div>
    </div>
  </div>
</div>
</div>

{template Public:Page:footer}